package com.fds.demo.common.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class CommonController {
    @RequestMapping("/")
    public String success(){
        //前缀：classpath:/templates/ success  后缀.html
        return "index";
    }
}
